//Eg3-20.cpp
#include <iostream>
using namespace std;
class point{
private:
    int x,y;
public:
    point(int a=0,int b=0){ x=a; y=b; }
    void move(int a,int b){ x=a;y=b; }
    int getx(){ return x; }
    int gety(){  return y; }
};
void main(){
    point p1,p2;
    p1.move(10,20);
    p2.move(3,4);
}
